package com.oa.pm.service;

import com.oa.core.PageResult;
import com.oa.core.utils.request.RFormParam;
import com.oa.pm.dto.InductionTrainingDTO;
import com.oa.pm.entity.InductionTraining;
import com.baomidou.mybatisplus.service.IService;
import com.oa.pm.vo.DimissionManagementDetailsVO;
import com.oa.pm.vo.InductionTrainingDetailsVO;
import com.oa.pm.vo.InductionTrainingVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 入职培训表 服务类
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface IInductionTrainingService extends IService<InductionTraining> {
    /**
     * 自定义分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResult<InductionTraining> findList(Integer pageNum, Integer pageSize);

    /**
    * 根据id查询
    */
    InductionTrainingDetailsVO findInductionTrainingById(String id);

    PageResult<InductionTrainingVO> findInductionTrainingList(RFormParam param);


    boolean addInductionTraining(InductionTrainingDTO inductionTrainingDTO);

    boolean editInductionTraining(InductionTrainingDTO inductionTrainingDTO);

    void export(RFormParam formParam, HttpServletResponse response);
}
